module.exports = {
	publicPath: './',
	css: {
		loaderOptions: {
			stylus: {
				'resolve url': true,
				import: ['./src/theme']
			}
		}
	},
	pluginOptions: {
		'cube-ui': {
			postCompile: true,
			theme: true
		}
	},
	devServer: {
		// 配置代理
		proxy: {
			'/login': {
				ws: false, //禁用websocket
				target: 'http://121.43.128.139:7086',
				// target: 'http://120.55.47.20:7086',
				changeOrigin: true
			},
			'/pf': {
				ws: false, //禁用websocket
				target: 'http://121.43.128.139:7086',
				// target: 'http://120.55.47.20:7086',
				changeOrigin: true
			}
		}
	}
};
